package com.campus.counseling.model.dto;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class ChatSessionDTO {
    private Long id;
    private Long appointmentId;
    private Long studentId;
    private Long counselorId;
    private String studentName;
    private String counselorName;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private Long lastMessageId;
    private Integer studentUnread;
    private Integer counselorUnread;
    private String lastMessage;
    private String studentAvatar;
    private String counselorAvatar;
    private Date startTimeDate;
    private Date endTimeDate;
} 